package com.yuelan.app.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @description:
 * @Author: ZhaoYi
 * @date: 24-6-30 4:00
 */

@Data
public class AppRentBillVo {

    //账单号
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    //账单周期
    private int cycle;

    //房间号
    private String roomNum;

    //收取时间
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date collectionTime;

    //租金
    private BigDecimal rent;

    //账单状态
    private String status;

    //逾期天数
    private int overdueDay;

    //逾期金额
    private BigDecimal overdueAmount;

    //实支付金额
    private BigDecimal totalAmount;

}
